<?php

require_once("lib/exception/duplicate_instance_exception.php");
require_once("lib/exception/internal_error_exception.php");
require_once("lib/exception/instance_not_found_exception.php");

abstract class Autor_dao {

	public function create($autor_to) {
		throw Duplicate_instance_exception;
		throw Internal_error_Exception;
	}
		
	public function exist($login) {
		throw Internal_error_Exception;
	}
	
	public function find_by_login_autor($login) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
		    
	public function update($autor_to) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}
	
	public function update_password($login, $password) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	}

	public function remove($login) {
		throw Internal_error_Exception;
		throw Instance_not_found_exception;
	} 
}
?>